-- ----------------------------------------------------------
--
-- Author: czf
-- date: 2018-11-24
-- description: 状态模式-状态管理
--
-- ----------------------------------------------------------

Context = Context or BaseClass()

function Context:__init()
	self.state = nil
end

function Context:__delete()
	-- body
end

function Context:SetState(state)
	self.state = state
end

function Context:GetState()
	return self.state
end